package com.catt.orderdinner.service;

import com.catt.orderdinner.dataobject.TbShop;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface ShopService {
    List<TbShop> findAll();

   Page<TbShop> findAll(Pageable pageable);

    TbShop findOneByShopId(String id);

    void save(TbShop tshop);

    void del(String id);
}
